package com.yunxi.otd.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.otd.pojo.OtdProjectCarOrderQueryVO;
import com.yunxi.otd.pojo.OtdProjectCarOrderSaveVO;
import com.yunxi.otd.pojo.OtdProjectCarOrderVO;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 项目用车单 服务类
 * </p>
 *
 * @author XUQI
 * @since 2019-06-12
 */
public interface OtdProjectCarOrderDubboService {

    OtdProjectCarOrderVO getById(String id);

    ApiResult saveOrUpdate(OtdProjectCarOrderSaveVO saveVO, LoginInfo loginInfo);

    PageInfo findPageByVO(OtdProjectCarOrderQueryVO queryVO, Integer pageNum,
        Integer pageSize);

    ApiResult confirm(OtdProjectCarOrderSaveVO saveVO, LoginInfo loginInfo);

    ApiResult importData(List<Map<String, Object>> dataList);

    /**
     * 根据ID删除项目车订单
     * @param ids ids
     * @return ApiResult
     */
    ApiResult remover(List<String> ids);

    /**
     * 不分页查询
     * @param queryVO
     * @return ApiResult
     */
    ApiResult findListByVO(OtdProjectCarOrderQueryVO queryVO);


}
